package org.bigdata.framework.core.model;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;

/**
 * <p>
 * 
 * </p>
 *
 * @author dal.anhuifeng
 * @since 2017-04-21
 */
@TableName("diy_page_module")
public class DiyPageModule implements Serializable {

    private static final long serialVersionUID = 1L;

	/**
	 * 
	 */
	@TableId(type = IdType.AUTO)
	private Integer id;

	/**
	 * 模块编码-由前端页面产生
	 */
	@TableField(value="module_code")
	private String moduleCode;

	/**
	 * 页面id
	 */
	@TableField(value="page_id")
	private Integer pageId;

	/**
	 * 模块id
	 */
	@TableField(value="module_id")
	private Integer moduleId;

	/**
	 * 排序
	 */
	private Integer sort;

	/**
	 * 编辑的html代码
	 */
	@TableField(value="html_design_code")
	private String htmlDesignCode;

	/**
	 * 自定义参数值-json格式
	 */
	@TableField(value="custom_params")
	private String customParams;

	/**
	 * 创建时间
	 */
	@TableField(value="create_time")
	private String createTime;



	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getModuleCode() {
		return moduleCode;
	}

	public void setModuleCode(String moduleCode) {
		this.moduleCode = moduleCode;
	}

	public Integer getPageId() {
		return pageId;
	}

	public void setPageId(Integer pageId) {
		this.pageId = pageId;
	}

	public Integer getModuleId() {
		return moduleId;
	}

	public void setModuleId(Integer moduleId) {
		this.moduleId = moduleId;
	}

	public Integer getSort() {
		return sort;
	}

	public void setSort(Integer sort) {
		this.sort = sort;
	}

	public String getHtmlDesignCode() {
		return htmlDesignCode;
	}

	public void setHtmlDesignCode(String htmlDesignCode) {
		this.htmlDesignCode = htmlDesignCode;
	}

	public String getCustomParams() {
		return customParams;
	}

	public void setCustomParams(String customParams) {
		this.customParams = customParams;
	}

	public String getCreateTime() {
		return createTime;
	}

	public void setCreateTime(String createTime) {
		this.createTime = createTime;
	}

}
